﻿<UserControl x:Class="Company.LiveCodingTV.Code.MyControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             Background="{DynamicResource VsBrush.Window}"
             Foreground="{DynamicResource VsBrush.WindowText}"
             mc:Ignorable="d" d:DesignWidth="260"
             Name="MyToolWindow" d:DesignHeight="200">
    <Grid Margin="0,0,0,0">

        <StackPanel Orientation="Vertical">
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0">
                <StackPanel Orientation="Vertical">
                    <Label Content="Now" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White" FontSize="24"/>
                    <TextBlock x:Name="NowControl" TextAlignment="Center"  HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White" Width="118" Text="00:00" FontSize="36" FontWeight="Bold"/>

                </StackPanel>
                <StackPanel Orientation="Vertical">
                    <Label Content="Ends" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="White" FontSize="24"/>
                    <TextBox x:Name="EndsControl" TextAlignment ="Center"  HorizontalAlignment="Center" VerticalContentAlignment="Center" Foreground="White" Width="118" Text="00:00" FontSize="36" AcceptsReturn="True" Background="{x:Null}" BorderBrush="{x:Null}" FontWeight="Bold"/>

                </StackPanel>
            </StackPanel>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
                <Label Content="CPU :" Foreground="White"></Label>
                <Label x:Name="CPUPERCENT" Content="10 %" Foreground="White"/>
                <ProgressBar x:Name="CPU" Height="18" Width="135"/>
            </StackPanel>
            <Label Content="1234567890" Foreground="White" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="1" FontSize="36" FontWeight="Bold" Margin="12,0"/>
        </StackPanel>
    </Grid>
</UserControl>
